package com.shen.customer;

import java.util.UUID;

/**
 * Author:shen
 * CreateDate:2020/5/6.
 * Function:
 */
public class Customer {
    private String id;//用户id
    private String name;//用户名称

    public Customer() {
    }

    public Customer( String name) {
        this.id = UUID.randomUUID().toString();
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
